package at.jku.ssw.fortress.ui;

import org.eclipse.jface.preference.BooleanFieldEditor;
import org.eclipse.jface.preference.DirectoryFieldEditor;
import org.eclipse.jface.preference.FieldEditorPreferencePage;
import org.eclipse.ui.IWorkbench;
import org.eclipse.ui.IWorkbenchPreferencePage;

public class FortressPreferencePage extends FieldEditorPreferencePage implements
		IWorkbenchPreferencePage {

	public FortressPreferencePage() {
		super(GRID);
		setPreferenceStore(FortressPlugin.getDefault().getPreferenceStore());
		setDescription("Fortress");
	}

	@Override
	public void createFieldEditors() {
		addField(new DirectoryFieldEditor(FortressPlugin.FORTRESS_HOME_PREF, "FORTRESS_HOME",
				getFieldEditorParent()));
	}

	public void init(IWorkbench workbench) {
	}

}
